package com.ruoyi.baseData.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.baseData.domain.dto.ProceduresDto;
import com.ruoyi.baseData.domain.dto.WoProceduresDto;
import com.ruoyi.baseData.domain.vo.ProceduresVo;
import com.ruoyi.baseData.domain.vo.WoProceduresVo;


/**
*
*/
public interface ProceduresService  {
    Page<ProceduresVo> getProceduresByPage(ProceduresDto pageEntity);

    void addProcedures(ProceduresDto testDto);

    void updateProcedures(ProceduresDto testDto);

    void delProcedures(ProceduresDto testDto);

    /**
     * 根据工单类型和工序步骤查询数据
     * @param woProceduresDto
     * @return
     */
    WoProceduresVo getEquipAndProcessByWo(WoProceduresDto woProceduresDto);

    /**
     * 获取下一道工序和设备
     * @param woProceduresDto
     * @return
     */
    WoProceduresVo getNextEquipAndProcessByWo(WoProceduresDto woProceduresDto);
}
